home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2836 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  668 b 

  1. Path: wrox.demon.co.uk!news
  2. From: alexs@wrox.demon.co.uk (Alex Stockton)
  3. Newsgroups: comp.lang.c++
  4. Subject: Uninitialized Memory
  5. Date: 19 Jan 1996 17:03:32 GMT
  6. Organization: Wrox Press Ltd.
  7. Message-ID: <4doit4$kqc@wrox.demon.co.uk>
  8. Reply-To: alexs@wrox.demon.co.uk
  9. X-NNTP-Posting-Host: wrox.demon.co.uk
  10. X-Newsreader: WinVN 0.92.6+
  11.  
  12. When using the new() function to allocate memory for a character array 
  13. in VC++ 4.0 I made a bit of an error that I would have been able to find
  14. more easily if I had been able to initialize the memory. I was
  15. wondering why Microsoft don't allow the initialization of memory allocated 
  16. for arrays using new(). Is there a reason for this?
  17.